<?php

namespace App\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * TkField
 *
 * @ORM\Table(name="tk_field")
 * @ORM\Entity
 */
class TkField
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer", nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="vcc_id", type="integer", nullable=false, options={"comment"="企业id"})
     */
    private $vccId;

    /**
     * @var string
     *
     * @ORM\Column(name="name", type="string", length=100, nullable=false, options={"comment"="字段名称"})
     */
    private $name;

    /**
     * @var string
     *
     * @ORM\Column(name="field_type", type="string", length=30, nullable=false, options={"comment"="字段类型"})
     */
    private $fieldType;

    /**
     * @var string
     *
     * @ORM\Column(name="options", type="text", length=0, nullable=false, options={"comment"="字段选项"})
     */
    private $options;

    /**
     * @var int
     *
     * @ORM\Column(name="update_time", type="integer", nullable=false, options={"comment"="最后修改时间"})
     */
    private $updateTime;

    /**
     * @var int
     *
     * @ORM\Column(name="update_user_id", type="integer", nullable=false, options={"comment"="最后修改人id"})
     */
    private $updateUserId;

    /**
     * @var string
     *
     * @ORM\Column(name="update_user_name", type="string", length=50, nullable=false, options={"comment"="最后改人"})
     */
    private $updateUserName;

    public function getId(): ?int
    {
        return $this->id;
    }

    public function getVccId(): ?int
    {
        return $this->vccId;
    }

    public function setVccId(int $vccId): self
    {
        $this->vccId = $vccId;

        return $this;
    }

    public function getName(): ?string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getFieldType(): ?string
    {
        return $this->fieldType;
    }

    public function setFieldType(string $fieldType): self
    {
        $this->fieldType = $fieldType;

        return $this;
    }

    public function getOptions(): ?string
    {
        return $this->options;
    }

    public function setOptions(string $options): self
    {
        $this->options = $options;

        return $this;
    }

    public function getUpdateTime(): ?int
    {
        return $this->updateTime;
    }

    public function setUpdateTime(int $updateTime): self
    {
        $this->updateTime = $updateTime;

        return $this;
    }

    public function getUpdateUserId(): ?int
    {
        return $this->updateUserId;
    }

    public function setUpdateUserId(int $updateUserId): self
    {
        $this->updateUserId = $updateUserId;

        return $this;
    }

    public function getUpdateUserName(): ?string
    {
        return $this->updateUserName;
    }

    public function setUpdateUserName(string $updateUserName): self
    {
        $this->updateUserName = $updateUserName;

        return $this;
    }


}
